/**
 * @Author: MN
 * @Date: 2023-08-22 18:11:00
 * @LastEditTime: 2023-08-22 18:11:25
 * @LastEditors: MN
 * @Description: ''
 * @FilePath: \vue2-element-admin-simple-diy\src\api\user.js
 */
import request from '@/utils/request'

// 登录
export function login(data) {
  return request({
    url: '',
    method: 'post',
    data
  })
}

// 退出
export function logout(data) {
  return request({
    url: '',
    method: 'post',
    data
  })
}

// 获取用户信息
export function getInfo(data) {
  return request({
    url: '',
    method: 'post',
    data
  })
}
